package summer_vacation.cullen.three10;

/**
 * Created by Cullen on 2015/8/13.
 */
public class N34_ {
    public static void main(String[] args) {
        int x=0;
        for (int a=0;a<200;a++){
            for (int b=0;b<200;b++){
                for (int c=0;c<200;c++){
                    if (a*a==b*b+c*c){
                        x++;
                        System.out.println(a + " ");
                        break;
                    }
                }
            }
        }
        x=(x-1)/2+1;
        System.out.print("共"+x+"个！");
    }
}
